"use strict";
var router_1 = require('@angular/router');
var layout_component_1 = require('./layout/layout.component');
var login_component_1 = require('./login/login.component');
var appRoutes = [
    { path: '', redirectTo: '/login', pathMatch: 'full' },
    { path: 'admin', component: layout_component_1.LayoutComponent },
    { path: 'login', component: login_component_1.LoginComponent }
];
exports.appRoutingProviders = [];
exports.routing = router_1.RouterModule.forRoot(appRoutes);
